//
//  RMMNoSkillTableViewCell.m
//  Romomo
//
//  Created by puman on 2017/2/23.
//  Copyright © 2017年 mazegong. All rights reserved.
//

#import "RMMNoSkillTableViewCell.h"

@implementation RMMNoSkillTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if ([super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.backgroundColor = kWhiteColor;
        UIImageView *imageV = [[UIImageView alloc] initWithFrame:CGRectMake(kScreenWideth / 2 - 41, 50, 82, 82)];
        imageV.image = [UIImage imageNamed:@"初始1@3x"];
        [self.contentView addSubview:imageV];
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, imageV.bottom , kScreenWideth, 50)];
        _titleLabel.textColor = COLORFROMCODE(0xAEAEAE, 1);
        _titleLabel.numberOfLines = 0;
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.font = kFont(13);
        [self.contentView addSubview:_titleLabel];
        
        _bookingShangMneBut = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _bookingShangMneBut.frame = CGRectMake(kScreenWideth / 2 - 70, _titleLabel.bottom, 3 * kHalf - kRow, 2 * kMaric);
        _bookingShangMneBut.layer.cornerRadius = kMaric;
        _bookingShangMneBut.layer.borderWidth = 1;
        _bookingShangMneBut.layer.borderColor = COLORFROMCODE(0x53C7C6 , 1).CGColor;
        [_bookingShangMneBut setTitleColor:COLORFROMCODE(0x53C7C6 , 1) forState:(UIControlStateNormal)];
        _bookingShangMneBut.titleLabel.font = kBFont(13);
        [_bookingShangMneBut setTitle:@"预约上门美容" forState:(UIControlStateNormal)];
       // [self.contentView addSubview:_bookingShangMneBut];

    }
    return self;
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
